/**
 * AmpArchPictureCategory.java
 * 
 * FreeZzaph is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *
 * FreeZzaph is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; see the file COPYING.
 */

package freezzaph.plugins;

import java.util.regex.Pattern;

import freezzaph.plugins.AmpArchPlugin.AmpArchSettings;

/**
 * Ampland Picture Category
 * @author FreeZzaph
 */
final class AmpArchPictureCategory extends AmpArchCategory {
	
	private static final Pattern link = Pattern.compile("\\d{4}-\\d{2}-\\d{2}&nbsp;<img\\s+src=\"/pic.gif\" border=\"0\" alt=\"pic\">&nbsp;<a target=\"_blank\" href=\"([^\"]+)\">.+</a>\\s+&nbsp;");

	public AmpArchPictureCategory(String name, String description, String categoryName, AmpArchSettings settings) {
		super(name, description, pictureFilter, categoryName, settings);
	}

	@Override Pattern link() {
		return link;
	}

}
